package cn.buk.api.szkj.dto.eterm.request;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * @author yfdai
 */
public class CreatePnrPassenger {

  @JsonProperty(value = "passengerName")
  private String name;

  /**
   * 证件输入类型 如: NI PP ID UU
   */
  @JsonProperty(value = "cardCode")
  private String idType;

  @JsonProperty(value = "cardNo")
  private String idNo;

  /**
   * 手机号,可用于CTCM
   */
  @JsonProperty(value = "phone")
  private String phone;

  /**
   * birthday 	否 	String 	出生日期，如:1989-01-01
   */
  @JsonProperty(value = "birthday")
  private String birthday;

  /**
   * 国籍代码
   * >>docHolderNationality 	否 	String 	国籍二字码，如CN，国际PNR必填
   */
  @JsonProperty(value = "docHolderNationality")
  private String countryCode;

  /**
   * 证件签发国家/地区
   * >>docIssueCountry 	否 	String 	发证国家二字码,如:CN,国际PNR必填
   */
  @JsonProperty(value = "docIssueCountry")
  private String idIssueNation;

  /**
   * 证件有效期
   * >>expireDate 	否 	String 	证件有效期 国际PNR必填
   */
  @JsonProperty(value = "expireDate")
  private String idValidDate;

  /**
   * 性别
   * >>gender 	否 	String 	性别 国际PNR必填,M 或 F
   */
  private String gender;


//  >>appellation 	否 	String 	称谓如MR MS


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getIdNo() {
    return idNo;
  }

  public void setIdNo(String idNo) {
    this.idNo = idNo;
  }

  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }

  public String getCountryCode() {
    return countryCode;
  }

  public void setCountryCode(String countryCode) {
    this.countryCode = countryCode;
  }

  public String getIdIssueNation() {
    return idIssueNation;
  }

  public void setIdIssueNation(String idIssueNation) {
    this.idIssueNation = idIssueNation;
  }

  public String getIdValidDate() {
    return idValidDate;
  }

  public void setIdValidDate(String idValidDate) {
    this.idValidDate = idValidDate;
  }

  public String getGender() {
    return gender;
  }

  public void setGender(String gender) {
    this.gender = gender;
  }

  public String getBirthday() {
    return birthday;
  }

  public void setBirthday(String birthday) {
    this.birthday = birthday;
  }

  public String getIdType() {
    return idType;
  }

  public void setIdType(String idType) {
    this.idType = idType;
  }
}
